#ifndef __FS__H
#define __FS__H
#include"global.h"
#include"ide.h"
//file system magic number my son brithday ^_^
#define FS_MAGIC 0x20200304
#define MAX_FILE_PER_PART 4096
#define SECTOR_SIZE 512
#define BLOCK_SIZE SECTOR_SIZE
#define BITS_PER_SEC 4096 
typedef enum{
	FT_UNKNOWN,
	FT_NORMAL,
	FT_DIR
}fs_type;

void init_filesys(void);
void partition_format(struct partition*,bool);
void mount_partition(const char* part_name);
#endif
